<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>欢迎页面</title>
</head>
<body>
   <h1>REST Ful风格原理分析</h1>
   <hr>
    <h2>1. 表单get提交</h2>
   <form action="/user" method="get">
       <input type="text" name="username">
       <input type="submit" value="提交[GET]">
   </form>
   <h2>2. 表单post提交</h2>
   <form action="/user" method="post">
       <input type="text" name="username">
       <input type="submit" value="提交[POST]">
   </form>
   <h2>3. 表单put提交</h2>
   <form action="/user" method="post">
       <input type="text" name="username">
       <input type="hidden" name="_m" value="put">
       <input type="submit" value="提交[PUT]">
   </form>
   <h2>2. 表单delete提交</h2>
   <form action="/user" method="post">
       <input type="text" name="username">
       <input type="hidden" name="_m" value="delete">
       <input type="submit" value="提交[DELETE]">
   </form>
</body>
</html>